package com.manong.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 薪资(SysSalary)实体类
 *
 * @author liwenx
 * @since 2024-02-21 08:33:04
 */
public class SysSalary implements Serializable {
    private static final long serialVersionUID = -80465343582243751L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private Long deptId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dateMonth;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime salaryTime;

    private Double salary;

    private String notes;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public LocalDateTime getDateMonth() {
        return dateMonth;
    }

    public void setDateMonth(LocalDateTime dateMonth) {
        this.dateMonth = dateMonth;
    }

    public LocalDateTime getSalaryTime() {
        return salaryTime;
    }

    public void setSalaryTime(LocalDateTime salaryTime) {
        this.salaryTime = salaryTime;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

}

